/*
 * @Autor: dc
 * @Date: 2022-03-30 14:01:49
 * @LastEditors: dc
 * @LastEditTime: 2022-03-30 14:10:15
 * @Description: 该文件专门为Count组件生成action对象
 */

import {INCREMENT,DECREMENT} from './constant'

export const createIncrementAction = data => ({ type: INCREMENT, data })
export const createDecrementAction = data => ({ type: DECREMENT, data })